Carlos Garnacho [Tue, 1 Nov 2011 01:54:03 +0000 (02:54 +0100)]
entry: Handle ::grab-notify
Store the device, and unset private fields whenever the device
is shadowed by another GTK+ grab, so popping up menus while
selecting (i.e. press-and-hold) doesn't leave the entry in a
confused state.
Michael Natterer [Thu, 23 Feb 2012 14:33:12 +0000 (15:33 +0100)]
quartz: implement GdkScreen::get_monitor_workarea()
Alexander Larsson [Thu, 23 Feb 2012 14:16:57 +0000 (15:16 +0100)]
Raleigh: Fix entry selection colors
Alexander Larsson [Thu, 23 Feb 2012 13:48:59 +0000 (14:48 +0100)]
Fix some details in Raleigh look
* Restores the old padding
* Prelight on spin buttons
* Don't have a generic prelight background selector, as that got
picked up by things like images that should have a transparent bg.
Michael Natterer [Thu, 23 Feb 2012 12:27:09 +0000 (13:27 +0100)]
quartz: make function keys work (again?)
The F keys have no unicode mapping, and UCKeyTranslate() returns
a bogus 0x10 as mapping to unicode. Instead of checking for this
random and undocumented return value, simply assign all function
keys explicitly. This patch also splits the ill-named "known_keys"
array into "modifier_keys" and "function_keys" which is much
more obvious.
(cherry picked from commit
55f9e5cbaf9c5f6761d7bce7a1672bc1552e2f07)
Javier Jardón [Wed, 22 Feb 2012 17:05:43 +0000 (17:05 +0000)]
docs: GtkApplication "quit" signal is gone now
Rob Bradford [Thu, 23 Feb 2012 11:45:49 +0000 (11:45 +0000)]
window: Fix typo in documentation for gtk_window_get_position
Daniel Mustieles [Thu, 23 Feb 2012 11:40:22 +0000 (12:40 +0100)]
Updated Spanish translation
Chun-wei Fan [Tue, 21 Feb 2012 04:43:57 +0000 (12:43 +0800)]
Bug 670499-gtkthemingengine.c: Include fallback-c89.c
This is due to the use of round and nearbyint() function, which are C99 functions...
Cosimo Cecchi [Tue, 21 Feb 2012 17:13:58 +0000 (18:13 +0100)]
color-swatch: set/unset prelight state flag on enter/leave events
Allows themes to set a different style on prelight.
Michael Natterer [Tue, 21 Feb 2012 16:32:37 +0000 (17:32 +0100)]
x11: s/_/-/ in signal name "window-manager-changed"
Michael Natterer [Tue, 21 Feb 2012 16:19:35 +0000 (17:19 +0100)]
GdkScreen: fix precondition checks in the public API
Move g_return_if_fail() stuff from the backends to the public
functions in gdkscreen.c itself, and some fixes for ugly formatting in
the various gdkscreen-backend.c files.
Cosimo Cecchi [Tue, 21 Feb 2012 11:25:06 +0000 (12:25 +0100)]
Revert "Remove the broken test for now"
Passes correctly again now.
This reverts commit
addff95c97aba96e9dc47a7788618c5eace6b5ba.
Cosimo Cecchi [Tue, 21 Feb 2012 11:14:13 +0000 (12:14 +0100)]
Revert "Disable broken entry progress test"
Passes correctly again now.
This reverts commit
39e51072b4d3eff103d7ec31e03c13a2a6f64b3a.
Cosimo Cecchi [Tue, 21 Feb 2012 11:07:36 +0000 (12:07 +0100)]
entry: fix progressbar area size for interior-focus = FALSE
No need to subtract focus line width again, since the progressbar is
rendered starting at (0, 0).
This also fixes the entry-progressbar-coloring reftest.
Fran Diéguez [Tue, 21 Feb 2012 11:08:13 +0000 (12:08 +0100)]
Updated Galician translations
Sebastian Keller [Mon, 20 Feb 2012 21:44:49 +0000 (22:44 +0100)]
Bug 650693 - Drawing errors in column headers when adding new columns
Reset style on visible headers, not on invisible ones
Chun-wei Fan [Tue, 21 Feb 2012 10:03:04 +0000 (18:03 +0800)]
Update Visual C++ property sheets
The file "installation" part needed a long-overdue update, especially
as some headers were simply moved into gtk/deprecated and some new headers
were introduced, and a new .gschema.xml file needed to be processed.
Matthias Clasen [Tue, 21 Feb 2012 09:45:07 +0000 (10:45 +0100)]
Bump version
Matthias Clasen [Tue, 21 Feb 2012 08:33:12 +0000 (09:33 +0100)]
Remove the broken test for now
It can come back after it has been repaired.
Мирослав Николић [Tue, 21 Feb 2012 07:38:29 +0000 (08:38 +0100)]
Updated Serbian translation
Мирослав Николић [Tue, 21 Feb 2012 07:32:34 +0000 (08:32 +0100)]
Updated Serbian translation
Chun-wei Fan [Tue, 21 Feb 2012 04:34:18 +0000 (12:34 +0800)]
Update config.h.win32(.in)
Make it more like the current config.h.in template.
Chun-wei Fan [Tue, 21 Feb 2012 04:07:51 +0000 (12:07 +0800)]
Update gtk3-demo Visual C++ projects
Make up for the missed source file application.c
Matthias Clasen [Tue, 21 Feb 2012 01:00:54 +0000 (02:00 +0100)]
Bump glib dep
Matthias Clasen [Tue, 21 Feb 2012 00:51:38 +0000 (01:51 +0100)]
More updates
Matthias Clasen [Tue, 21 Feb 2012 00:47:53 +0000 (01:47 +0100)]
Update expected output
Matthias Clasen [Tue, 21 Feb 2012 00:47:34 +0000 (01:47 +0100)]
Updates
Matthias Clasen [Tue, 21 Feb 2012 00:47:04 +0000 (01:47 +0100)]
Disable broken entry progress test
Cosimo says this needs to be done differently.
Matthias Clasen [Tue, 21 Feb 2012 00:46:40 +0000 (01:46 +0100)]
Symbol exporting fixes
Matthias Clasen [Mon, 20 Feb 2012 23:31:33 +0000 (00:31 +0100)]
Remove an unnecessary include
Matthias Clasen [Mon, 20 Feb 2012 23:30:44 +0000 (00:30 +0100)]
Add a way to get the current modifier state
Xkb makes this available to us, and it is useful if you want
to do easter eggs that are triggered by Alt.
Ryan Lortie [Tue, 21 Feb 2012 00:15:50 +0000 (01:15 +0100)]
bloatpad: adjust to G(tk)Application 'quit' change
https://bugzilla.gnome.org/show_bug.cgi?id=670485
Ryan Lortie [Mon, 20 Feb 2012 21:22:10 +0000 (22:22 +0100)]
GtkApplication: simplify session quit handling
Instead of firing a 'quit' signal and expecting the application to do
something that will cause it to quit, just call the new
g_application_quit() API for ourselves.
https://bugzilla.gnome.org/show_bug.cgi?id=670485
Ryan Lortie [Mon, 20 Feb 2012 20:47:29 +0000 (21:47 +0100)]
GtkApplication: remove end session API
This seems a bit "too powerful" and unlikely to be used by most
applications. Remove it from now, until someone comes up with a strong
desire for it.
https://bugzilla.gnome.org/show_bug.cgi?id=670485
Michael Natterer [Tue, 21 Feb 2012 00:04:53 +0000 (01:04 +0100)]
gtk_window_set_attached_to: ref(), not ref_sink() the attach_widget
The attached popup doesn't take ownership of its "parent" widget, so
ref_sink() was wrong, and caused widgets to be leaked.
Ask H. Larsen [Mon, 20 Feb 2012 21:42:49 +0000 (22:42 +0100)]
Updated Danish translation
Ask H. Larsen [Mon, 20 Feb 2012 21:34:26 +0000 (22:34 +0100)]
Updated Danish translation
Aurimas Černius [Mon, 20 Feb 2012 20:08:14 +0000 (22:08 +0200)]
Updated Lithuanian translation
Luca Ferretti [Mon, 20 Feb 2012 14:16:53 +0000 (15:16 +0100)]
l10n: Updated Italian translation
Ihar Hrachyshka [Mon, 20 Feb 2012 13:45:11 +0000 (16:45 +0300)]
Updated Belarusian translation.
Cosimo Cecchi [Mon, 20 Feb 2012 12:53:10 +0000 (13:53 +0100)]
color-chooser-widget: set a name on the "Add color" button
So we can easily catch it from the theme.
Cosimo Cecchi [Mon, 20 Feb 2012 12:45:58 +0000 (13:45 +0100)]
color-swatch: make this a no-window widget
Instead of having an input/output GdkWindow, make the widget no-window,
and use a separate input-only window for events, and paint on the parent
window directly.
Alexander Larsson [Mon, 20 Feb 2012 11:11:18 +0000 (12:11 +0100)]
Fix padding handling in GtkViewport
Cosimo Cecchi [Mon, 20 Feb 2012 10:44:05 +0000 (11:44 +0100)]
GtkHSV: remove an unused function
Cosimo Cecchi [Mon, 20 Feb 2012 10:28:36 +0000 (11:28 +0100)]
entry: trim the progress bar area if the text area is resized
When a subclass of GtkEntry (e.g. GtkSpinButton) resizes the available
text area (by overriding the get_text_area_size vfunc), we need to
ensure we don't draw a possible progressbar over the part that got
removed from the text area.
This fixes drawing a progressbar in GtkSpinButton and in its subclasses,
such as GimpSpinScale, and makes Mitch happy too!
David King [Mon, 20 Feb 2012 09:59:45 +0000 (09:59 +0000)]
docs: Clarify position of gtk_list_store_insert_with_values()
https://bugzilla.gnome.org/show_bug.cgi?id=612283
Diego Escalante Urrelo [Sun, 12 Feb 2012 23:25:03 +0000 (18:25 -0500)]
gtkuimanager: clarify @pos of insert_action_group
Mention that it is possible for it to be negative, or larger than the
current number of action groups.
https://bugzilla.gnome.org/show_bug.cgi?id=669947
Jiří Klimeš [Fri, 10 Feb 2012 13:58:59 +0000 (14:58 +0100)]
docs: fix typos in functions' descriptions
gtk_tree_view_set_hover_expand()
gtk_tree_view_column_set_clickable()
Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
Bastien Nocera [Sun, 19 Feb 2012 15:43:33 +0000 (16:43 +0100)]
x11: Fix first call to _gdk_x11_keymap_key_is_modifier()
_gdk_x11_keymap_key_is_modifier() never tries to set min/max_keycode
if they haven't been set before, meaning that until another function
sets those, all the keys will be seen as non-modifiers.
This causes GdkKeyEvents to be wrongly tagged with "->is_modifier = 0"
when in actual fact the key is a modifier. This fixes keyboard
shortcuts captured with GtkCellRendererAccel in "raw" mode thinking
a modifier without any actual keys is a valid shortcut.
https://bugzilla.gnome.org/show_bug.cgi?id=670400
Kjartan Maraas [Sun, 19 Feb 2012 14:23:19 +0000 (15:23 +0100)]
Updated Norwegian bokmål translation
Alexander Larsson [Sun, 19 Feb 2012 14:10:48 +0000 (15:10 +0100)]
Remove unused functions
Alexander Larsson [Sun, 19 Feb 2012 10:55:22 +0000 (11:55 +0100)]
Don't unnecessarily clear background twice in no EXPOSE_MASK case
We already clear in begin_paint, no need to do it again. In fact, this
will get the wrong result if the background has alpha.
Alexander Larsson [Sun, 19 Feb 2012 10:39:08 +0000 (11:39 +0100)]
Fix background clearing when exposing with non-double buffered widgets
We used to set a flushed boolean whenever we flushing double buffered
areas to the window due to a non-db draw. We then read back from the
window if this was set. This broke when we were doing multiple paints
of the same area after a flush as we were re-reading the window each
time, overdrawing what was previously draw.
Mattias Põldaru [Sun, 19 Feb 2012 09:52:05 +0000 (11:52 +0200)]
[l10n] Updated Estonian translation
Alexander Shopov [Sat, 18 Feb 2012 06:31:50 +0000 (08:31 +0200)]
Updated Bulgarian translation
Jiro Matsuzawa [Sat, 18 Feb 2012 22:04:30 +0000 (07:04 +0900)]
[l10n] Update Japanese translation
Cosimo Cecchi [Sat, 18 Feb 2012 18:28:21 +0000 (19:28 +0100)]
entry: don't force zero Y coordinate for insertion cursor
Subclasses of GtkEntry could set a larger height request, so we need to
apply the same calculations to the insertion cursors than we do on the
PangoLayout to render it centered under all circumstances.
Yaron Shahrabani [Sat, 18 Feb 2012 12:59:12 +0000 (14:59 +0200)]
Updated Hebrew translation
Yaron Shahrabani [Sat, 28 Jan 2012 10:47:22 +0000 (12:47 +0200)]
Updated Hebrew translation.
Cosimo Cecchi [Fri, 17 Feb 2012 17:58:23 +0000 (18:58 +0100)]
color-swatch: don't render our active badge if background-image is set
If the color active swatch has been set a background image from the
theme, use it as an asset, and do not draw our custom thing.
Cosimo Cecchi [Fri, 17 Feb 2012 17:57:24 +0000 (18:57 +0100)]
color-swatch: render a background if the swatch doesn't have a color
We still want to call into the background rendering code, to draw the
default background.
Cosimo Cecchi [Fri, 17 Feb 2012 17:31:19 +0000 (18:31 +0100)]
color-swatch: derive directly from GtkWidget
Instead of GtkDrawingArea, since that calls in realize
gtk_style_context_set_background(). We don't want that to happen, given
that we do all the painting ourselves in _draw().
Chao-Hsiung Liao [Sat, 18 Feb 2012 00:49:57 +0000 (08:49 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Daniel Mustieles [Fri, 17 Feb 2012 17:02:22 +0000 (18:02 +0100)]
Updated Spanish translation
Daniel Mustieles [Fri, 17 Feb 2012 16:45:50 +0000 (17:45 +0100)]
Updated Spanish translation
Cosimo Cecchi [Fri, 17 Feb 2012 16:02:43 +0000 (17:02 +0100)]
color-editor: mark the GtkColorSwatch as not selectable
Cosimo Cecchi [Fri, 17 Feb 2012 16:01:50 +0000 (17:01 +0100)]
color-swatch: add a "selectable" property to GtkColorSwatch
We don't want e.g. the swatch in GtkColorEditor to get the select badge
when it's clicked, so make this a property (on by default).
Fran Diéguez [Thu, 16 Feb 2012 14:00:06 +0000 (15:00 +0100)]
Updated Galician translations
Claudio Saavedra [Thu, 16 Feb 2012 10:32:44 +0000 (12:32 +0200)]
GtkNotebook: and another fix
https://bugzilla.gnome.org/show_bug.cgi?id=669116
Claudio Saavedra [Thu, 16 Feb 2012 10:24:21 +0000 (12:24 +0200)]
GtkNotebook: fix one child-notify emission
Forgot to increase the counter in the for loop, doing it now.
https://bugzilla.gnome.org/show_bug.cgi?id=669116
Benjamin Otte [Wed, 15 Feb 2012 14:13:57 +0000 (15:13 +0100)]
widget-factory: Don't crash when showing about dialog
Javier Jardón [Wed, 15 Feb 2012 13:43:58 +0000 (13:43 +0000)]
docs: GtkWidget's "state-flags-changed" is a signal not a property
Daniel Mustieles [Wed, 15 Feb 2012 12:11:35 +0000 (13:11 +0100)]
Updated Spanish translation
Daniel Mustieles [Wed, 15 Feb 2012 12:05:43 +0000 (13:05 +0100)]
Updated Spanish translation
Daniel Mustieles [Wed, 15 Feb 2012 12:01:13 +0000 (13:01 +0100)]
Updated Spanish translation
Murray Cumming [Wed, 15 Feb 2012 10:43:33 +0000 (11:43 +0100)]
Documentation: Correct references to properties.
These should use :, not ::, though signals would use ::.
See
http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en
and
http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
Rico Tzschichholz [Wed, 15 Feb 2012 07:03:05 +0000 (08:03 +0100)]
Remove obsolete reference to gtk.css.raleigh
Matthias Clasen [Wed, 15 Feb 2012 04:48:36 +0000 (23:48 -0500)]
Add color and font chooser to the widget gallery
Matthias Clasen [Wed, 15 Feb 2012 04:36:02 +0000 (23:36 -0500)]
Docs: Reorder a sections
Matthias Clasen [Wed, 15 Feb 2012 02:03:11 +0000 (21:03 -0500)]
GtkColorSwatch: Add accessible actions
Claudio Saavedra [Tue, 14 Feb 2012 15:26:03 +0000 (17:26 +0200)]
GtkNotebook: emit child-notify::position on drag 'n drop reorder
https://bugzilla.gnome.org/show_bug.cgi?id=669116
Claudio Saavedra [Fri, 10 Feb 2012 14:46:57 +0000 (16:46 +0200)]
GtkNotebook: emit child-notify::position on page add/removal
For each page added/removed, notify all the other children changing
position.
https://bugzilla.gnome.org/show_bug.cgi?id=669116
Matthias Clasen [Tue, 14 Feb 2012 21:39:05 +0000 (16:39 -0500)]
Revert "Add a button to back to the palette"
This reverts commit
32f1a5ad8373109c923f36cc0a9a579ab1a8770f.
Cosimo Cecchi [Tue, 14 Feb 2012 19:02:43 +0000 (14:02 -0500)]
color-scale: remove Adwaita GtkColorScale trough hack
Instead of special-casing Adwaita, apply the half-width logic for themes
that have a scale slider with vertical proportions.
Also, simplify the rendering code a bit by factoring out the trough
sizing logic.
Cosimo Cecchi [Tue, 14 Feb 2012 17:16:56 +0000 (12:16 -0500)]
colorchooser: factor out a private method to get the checkboard pattern
And use it in the color widgets.
Matthias Clasen [Sun, 12 Feb 2012 00:03:45 +0000 (19:03 -0500)]
Improve a11y names for colors
Only read alpha if it is != 1, and read percentages also for
'unnamed' palette colors.
Matthias Clasen [Fri, 10 Feb 2012 22:39:07 +0000 (17:39 -0500)]
Update TODO
Matthias Clasen [Fri, 10 Feb 2012 22:38:43 +0000 (17:38 -0500)]
Update POTFILES
Matthias Clasen [Fri, 10 Feb 2012 22:38:22 +0000 (17:38 -0500)]
Mark color names as translatable
Matthias Clasen [Fri, 10 Feb 2012 00:05:20 +0000 (19:05 -0500)]
GtkColorScale: fix an RTL issue
When using a horizontal scale in RTL, we need to flip the
background image to go along with the flipped scale.
Cosimo Cecchi [Thu, 9 Feb 2012 21:24:24 +0000 (16:24 -0500)]
test-toplevelembed: use new GtkColorChooserDialog
Cosimo Cecchi [Thu, 9 Feb 2012 21:23:30 +0000 (16:23 -0500)]
testgtk: use GtkColorChooserDialog instead of GtkColorSelectionDialog
Cosimo Cecchi [Thu, 9 Feb 2012 21:23:05 +0000 (16:23 -0500)]
prop-editor: don't use GtkColorButton deprecated API
Cosimo Cecchi [Thu, 9 Feb 2012 21:21:45 +0000 (16:21 -0500)]
gtk-demo: use the new GtkColorChooserDialog in the color demo
Cosimo Cecchi [Thu, 9 Feb 2012 21:21:22 +0000 (16:21 -0500)]
colorsel: include gtkcolorutils.h
Fix the build
Cosimo Cecchi [Thu, 9 Feb 2012 20:10:21 +0000 (15:10 -0500)]
color-widget: don't use a GtkAlignment to center the color editor
We can just use a GtkBox, and set hexpand=TRUE/halign=CENTER to allocate
the editor in the middle of the box.
Cosimo Cecchi [Thu, 9 Feb 2012 19:25:53 +0000 (14:25 -0500)]
color-editor: don't use a GtkAlignment to layout popups
Set a margin on the contents and use a box instead.
Cosimo Cecchi [Thu, 9 Feb 2012 19:06:43 +0000 (14:06 -0500)]
color-editor: don't use an alignment to give the popup extra space
Cosimo Cecchi [Thu, 9 Feb 2012 17:17:40 +0000 (12:17 -0500)]
color-editor: also set a row spacing in the popup tooltip